package com.igor.bookStore.beans;

import com.igor.bookStore.inface.Book;
import com.igor.bookStore.inface.Purchase;
import com.igor.bookStore.inface.PurchaseItem;

public class PurchaseItemBean implements PurchaseItem{
	
	 private String id;
     private double totalPrice;
     private int quantity;
     private boolean canceled;
     private Book book;
     private Purchase purchase;
     private int number;
     

     public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getId() {
             return this.id;
     }
     public void setId(String id) {
             this.id = id;
     }

     public double getTotalPrice() {
             return this.totalPrice;
     }
     public void setTotalPrice(double totalPrice) {
             this.totalPrice = totalPrice;
     }
     
     public int getQuantity() {
             return this.quantity;
     }
     public void setQuantity(int quantity) {
             this.quantity = quantity;
     }

     public boolean isCanceled() {
             return this.canceled;
     }
     public void setCanceled(boolean canceled) {
             this.canceled = canceled;
     }

     public Book getBook() {
             return this.book;
     }
     public void setBook(Book book) {
             this.book = book;
     }

     public Purchase getPurchase() {
             return this.purchase;
     }
     public void setPurchase(Purchase purchase) {
             this.purchase = purchase;
     }


}
